package com.example.shiwu.fragment;

import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import androidx.fragment.app.Fragment;

import com.example.shiwu.R;
import com.example.shiwu.model.MainInfo;
import com.example.shiwu.util.TitleSettingUtil;
import com.example.shiwu.view.MainInfoView;
import com.example.shiwu.view.MainSystemView;

public class MainSystemFragment extends Fragment {
    private Context context;
    private MainSystemView mainSystemView;

//    public MainSystemFragment(String content) {
//        this.content = content;
//    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.system_calibrate,container,false);
//        TextView txt_content = (TextView) view.findViewById(R.id.txt_content);
//        txt_content.setText(content);
        initView(view);
        return view;
    }

    public void initView(View view) {
        mainSystemView = new MainSystemView((Activity) this.getContext(), R.layout.activity_mainsystem,view);
    }
}
